package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * Created by Administrator on 2019/4/20 0020.
 */
@Data
@TableName(value = "cmfz_admin")
public class CmfzAdmin {
    @TableId(value = "admin_id",type = IdType.AUTO)
    private Integer adminId;
    private String adminUsername;
    private String adminPassword;
    private String adminSalt;
    @TableField(exist = false)
    private List<CmfzRole> cmfzRoles;
}
